package net.entelijan.cobean.examples.showcase.multisel;

import javax.swing.JButton;

import net.entelijan.cobean.examples.panels.DefaultMultiselPanel;
import net.entelijan.scf.DefaultShowcasePanel;
import net.miginfocom.swing.MigLayout;

public class SortMultiselPanel extends DefaultShowcasePanel {

	private DefaultMultiselPanel multiselPanel = new DefaultMultiselPanel();
	private JButton showSelectionButton = new JButton("Show Selection");

	private static final long serialVersionUID = 1L;

	public SortMultiselPanel() {
		super();
		setLayout(new MigLayout());
		add(multiselPanel, "w max, h max, grow, wrap");
		add(showSelectionButton);
	}

	public DefaultMultiselPanel getMultiselPanel() {
		return multiselPanel;
	}

	public void setMultiselPanel(DefaultMultiselPanel multiselPanel) {
		this.multiselPanel = multiselPanel;
	}

	public JButton getShowSelectionButton() {
		return showSelectionButton;
	}

	public void setShowSelectionButton(JButton showSelectionButton) {
		this.showSelectionButton = showSelectionButton;
	}

}
